<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.xteam.purview.entities.PurviewUser"%>
<%@ page import="com.xteam.ecsystem.utils.AppConfig"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>会员管理-回复评论</title>
		<jsp:include page="../../include/base.jsp"></jsp:include>
		<jsp:include page="../../include/common.jsp"></jsp:include>
		<script src="../../resource/kindeditor/kindeditor-min.js"
			type="text/javascript"></script>
		<script type="text/javascript">
			var __msgpath = "<%=AppConfig.getMessageImagePath() %>";
		</script>	
	</head>
	<%
		PurviewUser user = (PurviewUser) session.getAttribute("userId");
	%>
	<body style="margin: 0 auto; padding: 0">
		<form id="commentsForm" method="post">
			<!-- top: 20, left: 24, right: 24, bottom: 36, td-four：80, td-five: 93, td-six: 105-->
			<table style="width: 100%; font-size: 12px; padding-top: 14px;"
				align="center" cellpadding="5">
				<tr>
					<td align="right" width="80">
						主&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题：
					</td>
					<td>
						<div id="bucTitle" style="color: red;"></div>
					</td>
					<td align="right">
						用户昵称：
					</td>
					<td>
						<div id="bucName"></div>
					</td>
				</tr>
				<tr>
					<td align="right" width="80">
						评论等级：
					</td>
					<td>
						<div id="bucRank" ></div>
					</td>
					<td align="right">
						I&nbsp;P&nbsp;&nbsp;地址：
					</td>
					<td>
						<div id="bucIp" style="width:120px;"></div>
					</td>
				</tr>
				<tr>
					<td align="right">评论内容：</td>
					<td colspan="3"></td>
				</tr>
				<tr>
					<td colspan="4" align="center">
						<textarea class="mini-textarea" readonly
							style="width: 488px; height: 40px;" name="buc_content"
							id="bucContent"></textarea>
					</td>
				</tr>
				<tr>
					<td align="right">
						发表时间：
					</td>
					<td colspan="2">
						<div id="bucTime"></div>
					</td>
					<td align="right">
						<input class="mini-button" text="回复" plain="false"
							onclick="CommentsFormHandler.show" style="margin-right:24px;"
							id="replyShow" />
					</td>
				</tr>
				<tr id="replyInfo" style="font-size: 12px; height: 184px;">
					<td valign="top" align="left" colspan="4">
						<div style="margin-left: 22px;margin-top:24px;">
							<label id="role"></label>
							<label id="name" style="color: red"></label>
							<label id="time"></label>
							<div id="content" style="margin-top: 12px"></div>
						</div>
					</td>
				</tr>
				<tr id="reply" style="display: none; height: 100px;">
					<td colspan="4" align="center">
						<div>
							<table>
								<tr>
									<td align="center" colspan="3">
										<input id="briId" class="mini-textbox" visible="false" />
										<input id="briName" class="mini-textbox" visible="false"
											value="<%=user.getNickName()%>" />
										<input id="briType" class="mini-textbox" visible="false"
											value="0" />
										<input class="mini-textbox" id="briEmail" visible="false"
											value="<%=user.getPstcode()%>" />
										<input class="mini-textbox" id="briTarget" visible="false" />
										<textarea id="briContent" name="briContent"
											style="width: 488px; height: 30px;"></textarea>
<!--										<textarea id="briContent"-->
<!--											style="width: 540px; height: 40px; resize: none; font-size: 12px"></textarea>-->
									</td>
								</tr>
								<tr>
									<td></td>
									<td align="right">
										<label id="checkReply" style="font-size: 12px; color: red">
											再次回复覆盖回复内容
										</label>
									</td>
									<td align="right">
										<input class="mini-button" text="发表" plain="false"
											onclick="CommentsFormHandler.replyComments" />
									</td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="4" align="center">
						<input class="mini-button" text="关闭" iconCls="icon-cancel"
							plain="false" onclick="CommentsFormHandler.closeMiniWin" />
					</td>
				</tr>
			</table>
		</form>
	</body>
	<script src="handler/CommentsFormHandler.js" type="text/javascript"></script>
</html>